import { createRouter, createWebHashHistory } from 'vue-router';

// 引入常量路由
import { constantRoutes } from './router';

const router = createRouter({
  history: createWebHashHistory(),
  routes: constantRoutes
})

export default router